package com.stream.cloud.service;

import com.stream.cloud.model.UserEntity;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * Created by yebaokang on 2017/11/6.
 */

@FeignClient("cloud-simple-service")
public interface FeignUserService {

    @GetMapping("/user")
    List<UserEntity> readUserInfo();
}
